<% form_for :search ,:url=>admin_permissions_path , :html => {:method => :get,:class => "no-floating form"} do |f| %>  
  <% f.fields_for @search.conditions do |permissions| %>
    <table class="table">
      <tbody>
        <tr class="odd">
          <td width="60px"> 名称 </td>
          <td width="200px"> 
          <%= permissions.text_field :name_contains %></td>
          <td width="60px">描述</td>
          <td width="200px"><%= permissions.text_field :description_contains %></td>
          <td width="80px">   <%= f.submit 'Create'  ,:class => "button"%></td>
        </tr>
      </tbody>
    </table>
  <%end%>
<% end %>


